-- GENERATED SPELL FOR [Seasoned Irondeep Guard] --


function spell0_13552(pUnit, Event) --@Cleave,n/a--
pUnit:FullCastSpellOnTarget(15284,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13552', 599, 1)
end

function spell1_13552(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(16856,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_13552', 5283, 1)
end

function Sorts_13552(pUnit, Event)
local choix_sorts_13552 = math.random(0, 1)
if choix_sorts_13552 == 0 then
pUnit:RegisterEvent('spell0_13552', 1, 1)
end
if choix_sorts_13552 == 1 then
pUnit:RegisterEvent('spell1_13552', 1, 1)
end
end

function mob13552_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_13552', math.random(1500, 3000), 1)
end

function mob13552_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13552_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob13552_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(13552, 1, 'mob13552_Action')
RegisterUnitEvent(13552, 2, 'mob13552_Leave')
RegisterUnitEvent(13552, 3, 'mob13552_Kill')
RegisterUnitEvent(13552, 4, 'mob13552_Die')
